package patterns.nullobject;

/**
 * 空的对象类，继承抽象类，而不做任何具体操作。
 * Created by lenovo on 2016/12/9 0009.
 */
public class NullCustomer extends AbstractCustomer{
    @Override
    public boolean isNil() {
        return true;
    }

    @Override
    public String getName() {
        return "Not Available in Customer Database";
    }
}
